package game;

public class Player {
	String name;
	int health;
	int score;
	int strength;
	int money;
	Inventory inventory;
	
	public Player() {
		name = "Dude";
		health = 100;
		score = 0;
		strength = 10;
		money = 0;
		inventory = new Inventory();
	}
	
	public String status() {
		StringBuilder str = new StringBuilder();
		str.append("\n");
		str.append("Character Sheet\n");
		str.append("NAME: " + "\t" + name + "\n");
		str.append("HP: " + "\t" + health + "\n");
		str.append("STR: " + "\t" + strength + "\n");
		str.append("GOLD: " + "\t" + money + "\n");
		str.append("SCORE: " + "\t" + score + "\n");
		str.append("\n");
		str.append(this.inventory.listInv() + "\n");
		str.append("");
		return str.toString();
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public void setHealth(int health) {
		this.health = health;
	}
	
	public void setScore(int score) {
		this.score = score;
	}
	
	public void setStrength(int strength) {
		this.strength = strength;
	}
	
	public void setMoney(int money) {
		this.money = money;
	}
}
